package com.hyt.it.ogt.ks.model.vo;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;

import com.hyt.it.ogt.ks.model.entity.CandidatePaper;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 交卷
 *
 * @author 刘恒活
 * @since 2020-07-02
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "考生交卷请求参数")
public class CandidateFinishExamVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试项目id")
    @NotNull
    private String examId;

    @ApiModelProperty(value = "考生ID")
    @NotNull
    private String candidateId;

    @ApiModelProperty(value = "准考证号")
    private String admissionNumber;

    @ApiModelProperty(value = "试卷顺序号")
    private Integer paperSort;

    @ApiModelProperty(value = "是否结束本场考试")
    private Boolean finishAllPaper;

    @ApiModelProperty(value = "交卷类型：1-手动交卷，2-管理端强制交卷，3-切屏次数交卷，4-倒计时为0交卷，5-切屏超时交卷")
    private Integer finishType;

    @ApiModelProperty(value = "切屏次数")
    private Integer changScreenNumber;

    @ApiModelProperty(value = "考生状态", hidden = true)
    private Integer examStatus;

    private List<CandidatePaper> paperList;
}

